package com.dalin.demo.pojo.entity;

import java.util.Date;

public class OaMessage {
    private Integer id;
    private String content;
    private String state;
    private Date createDate;
    private String fromWhere;
    private String toWhere;
    private Boolean flagDel;
    private String remark;
    private String attachment;

    // Getters and Setters

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getFromWhere() {
        return fromWhere;
    }

    public void setFromWhere(String fromWhere) {
        this.fromWhere = fromWhere;
    }

    public String getToWhere() {
        return toWhere;
    }

    public void setToWhere(String toWhere) {
        this.toWhere = toWhere;
    }

    public Boolean getFlagDel() {
        return flagDel;
    }

    public void setFlagDel(Boolean flagDel) {
        this.flagDel = flagDel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", state='" + state + '\'' +
                ", createDate=" + createDate +
                ", fromWhere='" + fromWhere + '\'' +
                ", toWhere='" + toWhere + '\'' +
                ", flagDel=" + flagDel +
                ", remark='" + remark + '\'' +
                ", attachment='" + attachment + '\'' +
                '}';
    }
}
